import request from 'utils/request';

export const pubishArticleAPI = (data, draft = false) => {
  return request({
    url: '/v1_0/mp/articles?draft=' + draft,
    method: 'post',
    data
  });
};
